package com.bms.admin.base.user.service;

import java.util.List;
import java.util.Set;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.bms.admin.base.user.entity.User;

/**
 * <p>
 * 系统用户 服务类
 * </p>
 *
 * @author xj
 * @since 2018-08-09
 */
public interface IUserService extends IService<User> {

	Page<User> queryByPage(Page<User> page, Wrapper<User> wrapper);

	User queryById(Long id);

	void deleteByIds(List<Long> ids);

	/**
	 * 根据用户id获取权限
	 * @param userId
	 * @return
	 */
	Set<String> getUserPermissions (Long userId);
}
